package org.csu.small.service;

import org.csu.small.common.UniformResponse;
import org.csu.small.entity.Category;

import java.util.List;

public interface ICategoryService {
    UniformResponse<Category> getCategoryInfo(Integer categoryId);

    UniformResponse<String> addCategory(Category category);

    UniformResponse<String> editCategory(Category category);

    UniformResponse<List<Category>> getCategory(Integer categoryId);

    UniformResponse<List<Category>> getDeepCategory(Integer categoryId);

    UniformResponse<String> deleteCategory(Integer categoryId);
}
